package com.aurora.spider.site.usatoday;

import com.geccocrawler.gecco.annotation.HtmlField;
import com.geccocrawler.gecco.annotation.Image;
import com.geccocrawler.gecco.annotation.Text;
import com.geccocrawler.gecco.spider.HtmlBean;

/**
 * Created by jackie on 18/1/15.
 */

public class HitProject implements HtmlBean {

    //body > div.wrapper > div.container > div > div.mod-map > div.bd > ul > li.item1 > div > p > a
    @Text
    @HtmlField(cssPath="div.p-4.flex.flex-wrap.justify-start.items-start > header > h2")
    private String title;

    @Text
    @HtmlField(cssPath="li >div > p > span:nth-child(1)")
    private String code;


    @Text
    @HtmlField(cssPath="div.p-4.flex.flex-wrap.justify-start.items-start > header > p")
    private String descrption;

    @Text
    @HtmlField(cssPath="div.p-4.flex.flex-wrap.justify-start.items-start > div.Outlink.flex-shrink-0.w-full.md\\:w-\\[190px\\].lg\\:w-\\[200px\\].flex.justify-center.items-center.pt-5.md\\:pt-0.cursor-pointer > div > span.absolute.top-0.left-0.w-\\[calc\\(100\\%_-_56px\\)\\].lg\\:w-\\[calc\\(100\\%_-_40px\\)\\].bg-cta-500.hover\\:bg-cta-600.text-left.text-white.text-md.py-2.border-2.border-cta-500.px-4.rounded-md.hover\\:bg-cta-600.focus\\:outline-none > span")
    private String button;

    @Image
    @HtmlField(cssPath="div.p-4.flex.flex-wrap.justify-start.items-start > div.flex-shrink-0.mr-6.rtl\\:mr-0.rtl\\:ml-3.w-\\[90px\\] > div > img")
    private  String logo_url;

//    @Text
//    @HtmlField(cssPath="")
    private  String expiring_date;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescrption() {
        return descrption;
    }

    public void setDescrption(String descrption) {
        this.descrption = descrption;
    }

    public String getButton() {
        return button;
    }

    public void setButton(String button) {
        this.button = button;
    }

    public String getLogo_url() {
        return logo_url;
    }

    public void setLogo_url(String logo_url) {
        this.logo_url = logo_url;
    }

    public String getExpiring_date() {
        return expiring_date;
    }

    public void setExpiring_date(String expiring_date) {
        this.expiring_date = expiring_date;
    }
}
